home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / CMCD1104.ISO / Software / Freeware / Programare / bluej / bluejsetup-200.exe / {app} / lib / japanese / exception.help < prev    next >
Encoding:
Text File  |  2004-09-15  |  4.2 KB  |  148 lines

  1. NullPointerException*
  2. You tried to access an object (either a field
  3. in an object or a method of an object). This
  4. did not work because the object reference you
  5. used to access the object was 'null'. For
  6. example: You wrote "thing.print()", and "thing"
  7. was null at the time.
  8.  
  9. ArithmeticException*
  10. Something went wrong during an arithmetic
  11. calculation, such as a division by 0 or
  12. something similar.
  13.  
  14. StringIndexOutOfBoundsException*
  15. You have tried to access a character or a substring
  16. in a string , and the index you used does not exist
  17. in that string. For example, you may have tried to
  18. access the fifth character in a string that is only
  19. three characters long.
  20. For the substring operation, remember that the second
  21. parameter is the end index of the substring, not the
  22. lentgh.
  23.  
  24. ClassCastException*
  25. You used a "cast" - that is an instruction assigning
  26. a different static type to an object, such as in this
  27. example:
  28.        (String)someObject
  29. Here, "someObject" is cast to "String". This is legal
  30. only if the object stored in someObject really is of
  31. type String.
  32. In other words: you can cast to type T only if the
  33. object you are casting is of type T or one of its
  34. subtypes. In your case it wasn't.
  35.  
  36. IndexOutOfBoundsException*
  37. An index of some sort (such as to an array, to a string,
  38. or to a vector) is out of range. "Out of range" means
  39. that the index does not exist in the array or other
  40. collection (e.g. you tried to access element 5, but only
  41. three elements exist).
  42.  
  43. ArrayIndexOutOfBoundsException*
  44. An array index is out of range. "Out of range" means
  45. that the index does not exist in the array (e.g. you
  46. tried to access element 5, but only three elements
  47. exist). The legal index range is 0..arraylength-1.
  48.  
  49. ConcurrentModificationException*
  50. You are doing an iteration over a collection here.
  51. While you are doing this, the collection was modified.
  52. That's a problem. You are not allowed to modify the
  53. collection during an iteration. Or the other way
  54. around: you cannot continue the iteration after
  55. modifying the collection. The only modification
  56. allowed during an iteration is removing elements with
  57. the Iterator's remove method (NOT the remove in the
  58. collection itself).
  59.  
  60. AssertionError*
  61. An assertion has failed. This means that the expression
  62. inside the assert statement
  63.     assert(assertion-expression)
  64. evaluated to false. The assertion was put there most
  65. likely to ensure that the assertion is true at this
  66. point, and it being false indicates some sort of error.
  67. The exact nature of this error depends on the program.
  68. You should investigate why this expression was false.
  69.  
  70. ClassNotFoundException*
  71. A class that was needed to execute this application
  72. could not be found. It seems that it was found at the
  73. time the application was compiled, but now it's gone.
  74. Possible causes could be that your Java system is not
  75. configured properly (if the class in question is a 
  76. system class) or that your project is damaged (some
  77. class files somehow got lost or corrupted).
  78. Try rebuilding your whole project. If the problem 
  79. persists, chack with other projects. If this happens
  80. with more than one project, you may need to reinstall
  81. JDK.
  82.  
  83. ArrayStoreException*
  84. No help available - sorry.
  85.  
  86. CannotRedoException*
  87. No help available - sorry.
  88.  
  89. CannotUndoException*
  90. No help available - sorry.
  91.  
  92. CMMException*
  93. No help available - sorry.
  94.  
  95. EmptyStackException*
  96. No help available - sorry.
  97.  
  98. IllegalArgumentException*
  99. No help available - sorry.
  100.  
  101. IllegalMonitorStateException*
  102. No help available - sorry.
  103.  
  104. IllegalPathStateException*
  105. No help available - sorry.
  106.  
  107. IllegalStateException*
  108. No help available - sorry.
  109.  
  110. ImagingOpException*
  111. No help available - sorry.
  112.  
  113. MissingResourceException*
  114. No help available - sorry.
  115.  
  116. NegativeArraySizeException*
  117. No help available - sorry.
  118.  
  119. NoSuchElementException*
  120. No help available - sorry.
  121.  
  122. ProfileDataException*
  123. No help available - sorry.
  124.  
  125. ProviderException*
  126. No help available - sorry.
  127.  
  128. RasterFormatException*
  129. No help available - sorry.
  130.  
  131. SecurityException*
  132. No help available - sorry.
  133.  
  134. SystemException*
  135. No help available - sorry.
  136.  
  137. UndeclaredThrowableException*
  138. No help available - sorry.
  139.  
  140. UnsupportedOperationException*
  141. No help available - sorry.
  142.  
  143. Exception
  144. This is a general exception that only says
  145. that something went wrong. I have no idea
  146. what it is...
  147.  
  148.